| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkGraphics::ScreenshotTaker Class Referencefinal

Utility class helping to isolate data from a render context. More...

## Static Public Member Functions
static nkImages::Image | getScreenPixels (System *system)
static nkImages::Image | getScreenPixels (RenderContext *context)

## Detailed Description

Utility class helping to isolate data from a render context.

## Member Function Documentation

## ◆ getScreenPixels() [1/2]

static nkImages::Image nkGraphics::ScreenshotTaker::getScreenPixels | ( | System * | system | ) |
| static

Retrieves the currently displayed image within the system. This takes the active render context at call time.

Parameters

  system | The system to retrieve the active pixels from.

Returns
  The data requested.

## ◆ getScreenPixels() [2/2]

static nkImages::Image nkGraphics::ScreenshotTaker::getScreenPixels | ( | RenderContext * | context | ) |
| static

Retrieves the currently displayed image within a context.

Parameters

  context | The context whose image should be retrieved.

Returns
  The data requested.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Utils/ScreenshotTaker.h